import React, {useState} from "react";


const NextView: React.FC = () => {
const [url,setUrl]=useState<string>("http://localhost:3001")
const Click=()=>{
    setUrl("")
    setTimeout(()=>{
        setUrl("http://localhost:3001")

    },1000)
}
    return (
        <>
        <iframe
            src="http://localhost:3001"
            title="Baidu"
            width="100%"
            height="100%"
            style={{ border: 'none' }}
        >
        </iframe>
        </>
    )
}


export default NextView